<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
<link rel="stylesheet" href="../../../javascript/plug-ins/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="../../../css/style.css" />		
<script src="../../../javascript/jquery.js"></script>
<script type="text/javascript" src="../../../javascript/plug-ins/layui/layui.js"></script>	
<script type="text/javascript" src="../../../javascript/plug-ins/pagination.js" ></script>
<script src="../../../javascript/laydate/laydate.js"></script>

<script src="js/distbut_mangt.js"></script>




	</head>
	<body>
		
	   <div class="page-wrap">		
		
		<section class="page-hd t">         
         <header>
			 <h5 class="title">
			 <a href="distbut_mangt.html" class="red">分销商管理</a>
			 <!--<a href="trend_statist.html">增长趋势统计</a>
			 <a href="distbut_order.html">分销订单</a>
			 <a href="distbut_statist.html">分销商统计</a>
			 <a href="distbut_between.html">分销商关系</a>-->
			 <a href="withdrawal.html">提现</a>
			</h5>	
		 </header>
		 <hr>
		</section>
		
		
		<div class="panel panel-default">
		
		 <div class="flex flex-wrap flex-col-3 form-group">
		  	  <div class="box-child text-left"><input placeholder="请输入电话" id="search_tel" class="form-control width50" type="text" value="" /><input type="button" class="btn btn-info  margin_left10" onclick="search();" value="搜索" /><input type="button" id="exeropt" class="btn btn-warning  margin_left10" value="导出" /></div>
		      <!--<div class="box-child text-left">
		      	<select class="width20" onchange="search();">
					<option>状态</option>
					<option>已完成</option>
					<option>未完成</option>
				</select>
		        <select class="width25" onchange="search();">
					<option>分销商</option>
					<option>推荐人</option>
					<option>未完成</option>
				</select>
		      	<select class="width20" onchange="search();">
					<option>关注</option>
					<option>未关注</option>
					<option>取消关注</option>
				</select>
		      	<select class="width25" onchange="search();">
					<option>黑名单</option>
					<option>是</option>
					<option>否</option>
				</select>
		      </div>-->
			  <div class="box-child">时间：<input onclick="laydate()" class="form-control width20 laydate-icon" id="start_time" placeholder="开始时间" />-<input onclick="laydate()" class="form-control width20 laydate-icon" id="end_time" placeholder="结束时间" /> <input class="btn btn-info" type="button" onclick="search();" value="搜索" /> </div>
		 </div>
		  
		 <table class="table table-bordered text-center">
		  	<thead>
		  		<tr>
		  			<th>ID</th>
		  			<th>姓名</th>
		  			<th>电话</th>
		  			<th>余额</th>
		  			<th>成分销商时间</th>
					<th>二维码</th>
		  			<th>操作</th>
		  		</tr>
		  	</thead>
		  	<tbody class="distbut_mangt_tbody">
		  		<!--<tr>
		  			<td>1</td>
		  			<td>张三</td>
		  			<td>1545454554</td>
		  			<td>2017-12-23<br>12:00-14:00</td>
					<td><img height="30" src="../../../img/user-img0.jpg"/></td>
		  			<td><a href="upd_laundry_order.html">编辑</a>&nbsp;&nbsp;&nbsp;<a href="#">删除</a></td>
		  		</tr>
		  		
		  		<tr>
		  			<td>1</td>
		  			<td>张三</td>
		  			<td>1545454554</td>
		  			<td>2017-12-23<br>12:00-14:00</td>
					<td><img height="30" src="../../../img/user-img0.jpg"/></td>
		  			<td><a href="upd_laundry_order.html">编辑</a>&nbsp;&nbsp;&nbsp;<a href="#">删除</a></td>
		  		</tr>-->
		  		
		  	</tbody>
		  	
  	
		  </table>
			
			
			
		
		

		</div><!---panel--->
			<div id="page"></div>
	   </div><!---page-wrap------>		
		
		
	</body>
	<script src="../../../javascript/jquery.table2excel.js"></script>
	<script>
	
	 $("#exeropt").click(function(){
		var t=new Date();
		var time=t.getFullYear()+""+t.getMonth()+1+""+t.getDate()+"";
		top.layer.confirm('确定导出分销商？',{icon: 3,title:'提示信息'},function(index){	
			$(".table").table2excel({
				exclude: ".noExl",
				name: "Excel Document Name",
				filename : "分销商" + time+ ".xls", //文件名称    
				name: "Excel Document Name.xlsx",    
				exclude_img: true,
				exclude_links: true,
				exclude_inputs: true
			});
			layer.closeAll();
			layer.close(index);	
		});
     });
	</script>
		
	
</html>
